package com.cqsw.bbs.mapper;

import org.apache.ibatis.annotations.Param;

public interface KeepMapper {
    int insertKeep(@Param("id")Integer id,@Param("type")Integer type,@Param("keep_object_id") Integer keep_object_id);

    // 查询收藏数
    int queryAlreadyCollected(@Param("id")Integer id,@Param("type")Integer type,@Param("keep_object_id") Integer keep_object_id);

    // 删除收藏
    int deleteKeep();
}